//
//  AboutMovieViewController.h
//  ActiveDeck
//
//  Created by Michael Cohen on 10/5/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MediaPlayer/MediaPlayer.h>
@protocol CustomMovieDelegate <NSObject>

-(void)rotateForMovie:(BOOL)shouldRotate; 

@end

@interface CustomMovieViewController : UIView {
    id <CustomMovieDelegate>  _cmvcDelegate;
    MPMoviePlayerController *mp;
    BOOL isStopped;
    BOOL shouldRemoveOnFinish;
    NSString *_orientation;
    BOOL autoPlay;
}

@property (nonatomic, retain) MPMoviePlayerController *mp;
@property (readwrite) BOOL isStopped;
@property (readwrite) BOOL shouldRemoveOnFinish;
@property (nonatomic, retain) NSString *_orientation;
@property (nonatomic, assign) id<CustomMovieDelegate> _cmvcDelegate;
@property (readwrite) BOOL autoplay;

-(void)readyPlayer:(NSString*)videoPath:(CGRect)videoFrame :(NSString*)orientation :(BOOL)shouldRemoveOnFinish :(BOOL)isKioskEnabled;

@end
